package com.shop.order.domain;

import com.vip.common.annotation.Excel;
import com.vip.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 订单对象 shop_order
 * 
 * @author ruoyi
 * @date 2021-08-25
 */
public class ShopOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单id */
    private Long orderId;

    /** 订单总数 */
    @Excel(name = "订单总数")
    private Long totalNumber;

    /** 订单金额 */
    @Excel(name = "订单金额")
    private Long totalMony;

    /** 配送地址 */
    @Excel(name = "配送地址")
    private String address;

    /** 1.完成2.未完成 */
    @Excel(name = "1.完成2.未完成")
    private Long status;

    /** 用户电话 */
    @Excel(name = "用户电话")
    private String telephone;

    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setTotalNumber(Long totalNumber) 
    {
        this.totalNumber = totalNumber;
    }

    public Long getTotalNumber() 
    {
        return totalNumber;
    }
    public void setTotalMony(Long totalMony) 
    {
        this.totalMony = totalMony;
    }

    public Long getTotalMony() 
    {
        return totalMony;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setTelephone(String telephone) 
    {
        this.telephone = telephone;
    }

    public String getTelephone() 
    {
        return telephone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("totalNumber", getTotalNumber())
            .append("totalMony", getTotalMony())
            .append("address", getAddress())
            .append("status", getStatus())
            .append("telephone", getTelephone())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
